cmake_minimum_required(VERSION 3.15)
project(muduo)

include_directories(${HEAD_PATH})
file(GLOB src ${SRC_PATH}/*.cc)
set(EXECUTABLE_OUTPUT_PATH ${BIN_PATH})
set(CMAKE_BUILD_TYPE debug)
foreach(srcfile IN LISTS src)
    get_filename_component(elfname ${srcfile} NAME_WE)
    add_executable(${elfname} ${srcfile})
endforeach()

# target_link_directories(any pthread)
# target_link_directories(main pthread)
